package com.csdj.springcloudt309.order.service;

import com.csdj.spingcloudt309.common.entity.User;
import org.springframework.stereotype.Component;

@Component
public class UserServiceRpcFallback implements UserServiceRpc {
    @Override
    public User getUserInfo(Integer id) {
        System.out.println("执行fallback方法");
        return new User();
    }

    @Override
    public int saveUser(User user) {
        return 0;
    }
}
